package com.resort.goods.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class RgsGoodsReleaseExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public RgsGoodsReleaseExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeIsNull() {
            addCriterion("goods_type is null");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeIsNotNull() {
            addCriterion("goods_type is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeEqualTo(String value) {
            addCriterion("goods_type =", value, "goodsType");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeNotEqualTo(String value) {
            addCriterion("goods_type <>", value, "goodsType");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeGreaterThan(String value) {
            addCriterion("goods_type >", value, "goodsType");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeGreaterThanOrEqualTo(String value) {
            addCriterion("goods_type >=", value, "goodsType");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeLessThan(String value) {
            addCriterion("goods_type <", value, "goodsType");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeLessThanOrEqualTo(String value) {
            addCriterion("goods_type <=", value, "goodsType");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeLike(String value) {
            addCriterion("goods_type like", value, "goodsType");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeNotLike(String value) {
            addCriterion("goods_type not like", value, "goodsType");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeIn(List<String> values) {
            addCriterion("goods_type in", values, "goodsType");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeNotIn(List<String> values) {
            addCriterion("goods_type not in", values, "goodsType");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeBetween(String value1, String value2) {
            addCriterion("goods_type between", value1, value2, "goodsType");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeNotBetween(String value1, String value2) {
            addCriterion("goods_type not between", value1, value2, "goodsType");
            return (Criteria) this;
        }

        public Criteria andGoodsIdIsNull() {
            addCriterion("goods_id is null");
            return (Criteria) this;
        }

        public Criteria andGoodsIdIsNotNull() {
            addCriterion("goods_id is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsIdEqualTo(Long value) {
            addCriterion("goods_id =", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotEqualTo(Long value) {
            addCriterion("goods_id <>", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdGreaterThan(Long value) {
            addCriterion("goods_id >", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdGreaterThanOrEqualTo(Long value) {
            addCriterion("goods_id >=", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdLessThan(Long value) {
            addCriterion("goods_id <", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdLessThanOrEqualTo(Long value) {
            addCriterion("goods_id <=", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdIn(List<Long> values) {
            addCriterion("goods_id in", values, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotIn(List<Long> values) {
            addCriterion("goods_id not in", values, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdBetween(Long value1, Long value2) {
            addCriterion("goods_id between", value1, value2, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotBetween(Long value1, Long value2) {
            addCriterion("goods_id not between", value1, value2, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsSubIdIsNull() {
            addCriterion("goods_sub_id is null");
            return (Criteria) this;
        }

        public Criteria andGoodsSubIdIsNotNull() {
            addCriterion("goods_sub_id is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsSubIdEqualTo(Long value) {
            addCriterion("goods_sub_id =", value, "goodsSubId");
            return (Criteria) this;
        }

        public Criteria andGoodsSubIdNotEqualTo(Long value) {
            addCriterion("goods_sub_id <>", value, "goodsSubId");
            return (Criteria) this;
        }

        public Criteria andGoodsSubIdGreaterThan(Long value) {
            addCriterion("goods_sub_id >", value, "goodsSubId");
            return (Criteria) this;
        }

        public Criteria andGoodsSubIdGreaterThanOrEqualTo(Long value) {
            addCriterion("goods_sub_id >=", value, "goodsSubId");
            return (Criteria) this;
        }

        public Criteria andGoodsSubIdLessThan(Long value) {
            addCriterion("goods_sub_id <", value, "goodsSubId");
            return (Criteria) this;
        }

        public Criteria andGoodsSubIdLessThanOrEqualTo(Long value) {
            addCriterion("goods_sub_id <=", value, "goodsSubId");
            return (Criteria) this;
        }

        public Criteria andGoodsSubIdIn(List<Long> values) {
            addCriterion("goods_sub_id in", values, "goodsSubId");
            return (Criteria) this;
        }

        public Criteria andGoodsSubIdNotIn(List<Long> values) {
            addCriterion("goods_sub_id not in", values, "goodsSubId");
            return (Criteria) this;
        }

        public Criteria andGoodsSubIdBetween(Long value1, Long value2) {
            addCriterion("goods_sub_id between", value1, value2, "goodsSubId");
            return (Criteria) this;
        }

        public Criteria andGoodsSubIdNotBetween(Long value1, Long value2) {
            addCriterion("goods_sub_id not between", value1, value2, "goodsSubId");
            return (Criteria) this;
        }

        public Criteria andGoodsSubSubIdIsNull() {
            addCriterion("goods_sub_sub_id is null");
            return (Criteria) this;
        }

        public Criteria andGoodsSubSubIdIsNotNull() {
            addCriterion("goods_sub_sub_id is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsSubSubIdEqualTo(Long value) {
            addCriterion("goods_sub_sub_id =", value, "goodsSubSubId");
            return (Criteria) this;
        }

        public Criteria andGoodsSubSubIdNotEqualTo(Long value) {
            addCriterion("goods_sub_sub_id <>", value, "goodsSubSubId");
            return (Criteria) this;
        }

        public Criteria andGoodsSubSubIdGreaterThan(Long value) {
            addCriterion("goods_sub_sub_id >", value, "goodsSubSubId");
            return (Criteria) this;
        }

        public Criteria andGoodsSubSubIdGreaterThanOrEqualTo(Long value) {
            addCriterion("goods_sub_sub_id >=", value, "goodsSubSubId");
            return (Criteria) this;
        }

        public Criteria andGoodsSubSubIdLessThan(Long value) {
            addCriterion("goods_sub_sub_id <", value, "goodsSubSubId");
            return (Criteria) this;
        }

        public Criteria andGoodsSubSubIdLessThanOrEqualTo(Long value) {
            addCriterion("goods_sub_sub_id <=", value, "goodsSubSubId");
            return (Criteria) this;
        }

        public Criteria andGoodsSubSubIdIn(List<Long> values) {
            addCriterion("goods_sub_sub_id in", values, "goodsSubSubId");
            return (Criteria) this;
        }

        public Criteria andGoodsSubSubIdNotIn(List<Long> values) {
            addCriterion("goods_sub_sub_id not in", values, "goodsSubSubId");
            return (Criteria) this;
        }

        public Criteria andGoodsSubSubIdBetween(Long value1, Long value2) {
            addCriterion("goods_sub_sub_id between", value1, value2, "goodsSubSubId");
            return (Criteria) this;
        }

        public Criteria andGoodsSubSubIdNotBetween(Long value1, Long value2) {
            addCriterion("goods_sub_sub_id not between", value1, value2, "goodsSubSubId");
            return (Criteria) this;
        }

        public Criteria andGoodsSubSubSubIdIsNull() {
            addCriterion("goods_sub_sub_sub_id is null");
            return (Criteria) this;
        }

        public Criteria andGoodsSubSubSubIdIsNotNull() {
            addCriterion("goods_sub_sub_sub_id is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsSubSubSubIdEqualTo(Long value) {
            addCriterion("goods_sub_sub_sub_id =", value, "goodsSubSubSubId");
            return (Criteria) this;
        }

        public Criteria andGoodsSubSubSubIdNotEqualTo(Long value) {
            addCriterion("goods_sub_sub_sub_id <>", value, "goodsSubSubSubId");
            return (Criteria) this;
        }

        public Criteria andGoodsSubSubSubIdGreaterThan(Long value) {
            addCriterion("goods_sub_sub_sub_id >", value, "goodsSubSubSubId");
            return (Criteria) this;
        }

        public Criteria andGoodsSubSubSubIdGreaterThanOrEqualTo(Long value) {
            addCriterion("goods_sub_sub_sub_id >=", value, "goodsSubSubSubId");
            return (Criteria) this;
        }

        public Criteria andGoodsSubSubSubIdLessThan(Long value) {
            addCriterion("goods_sub_sub_sub_id <", value, "goodsSubSubSubId");
            return (Criteria) this;
        }

        public Criteria andGoodsSubSubSubIdLessThanOrEqualTo(Long value) {
            addCriterion("goods_sub_sub_sub_id <=", value, "goodsSubSubSubId");
            return (Criteria) this;
        }

        public Criteria andGoodsSubSubSubIdIn(List<Long> values) {
            addCriterion("goods_sub_sub_sub_id in", values, "goodsSubSubSubId");
            return (Criteria) this;
        }

        public Criteria andGoodsSubSubSubIdNotIn(List<Long> values) {
            addCriterion("goods_sub_sub_sub_id not in", values, "goodsSubSubSubId");
            return (Criteria) this;
        }

        public Criteria andGoodsSubSubSubIdBetween(Long value1, Long value2) {
            addCriterion("goods_sub_sub_sub_id between", value1, value2, "goodsSubSubSubId");
            return (Criteria) this;
        }

        public Criteria andGoodsSubSubSubIdNotBetween(Long value1, Long value2) {
            addCriterion("goods_sub_sub_sub_id not between", value1, value2, "goodsSubSubSubId");
            return (Criteria) this;
        }

        public Criteria andPictureIsNull() {
            addCriterion("picture is null");
            return (Criteria) this;
        }

        public Criteria andPictureIsNotNull() {
            addCriterion("picture is not null");
            return (Criteria) this;
        }

        public Criteria andPictureEqualTo(String value) {
            addCriterion("picture =", value, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureNotEqualTo(String value) {
            addCriterion("picture <>", value, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureGreaterThan(String value) {
            addCriterion("picture >", value, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureGreaterThanOrEqualTo(String value) {
            addCriterion("picture >=", value, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureLessThan(String value) {
            addCriterion("picture <", value, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureLessThanOrEqualTo(String value) {
            addCriterion("picture <=", value, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureLike(String value) {
            addCriterion("picture like", value, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureNotLike(String value) {
            addCriterion("picture not like", value, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureIn(List<String> values) {
            addCriterion("picture in", values, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureNotIn(List<String> values) {
            addCriterion("picture not in", values, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureBetween(String value1, String value2) {
            addCriterion("picture between", value1, value2, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureNotBetween(String value1, String value2) {
            addCriterion("picture not between", value1, value2, "picture");
            return (Criteria) this;
        }

        public Criteria andGroundingIsNull() {
            addCriterion("grounding is null");
            return (Criteria) this;
        }

        public Criteria andGroundingIsNotNull() {
            addCriterion("grounding is not null");
            return (Criteria) this;
        }

        public Criteria andGroundingEqualTo(Integer value) {
            addCriterion("grounding =", value, "grounding");
            return (Criteria) this;
        }

        public Criteria andGroundingNotEqualTo(Integer value) {
            addCriterion("grounding <>", value, "grounding");
            return (Criteria) this;
        }

        public Criteria andGroundingGreaterThan(Integer value) {
            addCriterion("grounding >", value, "grounding");
            return (Criteria) this;
        }

        public Criteria andGroundingGreaterThanOrEqualTo(Integer value) {
            addCriterion("grounding >=", value, "grounding");
            return (Criteria) this;
        }

        public Criteria andGroundingLessThan(Integer value) {
            addCriterion("grounding <", value, "grounding");
            return (Criteria) this;
        }

        public Criteria andGroundingLessThanOrEqualTo(Integer value) {
            addCriterion("grounding <=", value, "grounding");
            return (Criteria) this;
        }

        public Criteria andGroundingIn(List<Integer> values) {
            addCriterion("grounding in", values, "grounding");
            return (Criteria) this;
        }

        public Criteria andGroundingNotIn(List<Integer> values) {
            addCriterion("grounding not in", values, "grounding");
            return (Criteria) this;
        }

        public Criteria andGroundingBetween(Integer value1, Integer value2) {
            addCriterion("grounding between", value1, value2, "grounding");
            return (Criteria) this;
        }

        public Criteria andGroundingNotBetween(Integer value1, Integer value2) {
            addCriterion("grounding not between", value1, value2, "grounding");
            return (Criteria) this;
        }

        public Criteria andPublishTimeIsNull() {
            addCriterion("publish_time is null");
            return (Criteria) this;
        }

        public Criteria andPublishTimeIsNotNull() {
            addCriterion("publish_time is not null");
            return (Criteria) this;
        }

        public Criteria andPublishTimeEqualTo(Date value) {
            addCriterion("publish_time =", value, "publishTime");
            return (Criteria) this;
        }

        public Criteria andPublishTimeNotEqualTo(Date value) {
            addCriterion("publish_time <>", value, "publishTime");
            return (Criteria) this;
        }

        public Criteria andPublishTimeGreaterThan(Date value) {
            addCriterion("publish_time >", value, "publishTime");
            return (Criteria) this;
        }

        public Criteria andPublishTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("publish_time >=", value, "publishTime");
            return (Criteria) this;
        }

        public Criteria andPublishTimeLessThan(Date value) {
            addCriterion("publish_time <", value, "publishTime");
            return (Criteria) this;
        }

        public Criteria andPublishTimeLessThanOrEqualTo(Date value) {
            addCriterion("publish_time <=", value, "publishTime");
            return (Criteria) this;
        }

        public Criteria andPublishTimeIn(List<Date> values) {
            addCriterion("publish_time in", values, "publishTime");
            return (Criteria) this;
        }

        public Criteria andPublishTimeNotIn(List<Date> values) {
            addCriterion("publish_time not in", values, "publishTime");
            return (Criteria) this;
        }

        public Criteria andPublishTimeBetween(Date value1, Date value2) {
            addCriterion("publish_time between", value1, value2, "publishTime");
            return (Criteria) this;
        }

        public Criteria andPublishTimeNotBetween(Date value1, Date value2) {
            addCriterion("publish_time not between", value1, value2, "publishTime");
            return (Criteria) this;
        }

        public Criteria andOfflineTimeIsNull() {
            addCriterion("offline_time is null");
            return (Criteria) this;
        }

        public Criteria andOfflineTimeIsNotNull() {
            addCriterion("offline_time is not null");
            return (Criteria) this;
        }

        public Criteria andOfflineTimeEqualTo(Date value) {
            addCriterion("offline_time =", value, "offlineTime");
            return (Criteria) this;
        }

        public Criteria andOfflineTimeNotEqualTo(Date value) {
            addCriterion("offline_time <>", value, "offlineTime");
            return (Criteria) this;
        }

        public Criteria andOfflineTimeGreaterThan(Date value) {
            addCriterion("offline_time >", value, "offlineTime");
            return (Criteria) this;
        }

        public Criteria andOfflineTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("offline_time >=", value, "offlineTime");
            return (Criteria) this;
        }

        public Criteria andOfflineTimeLessThan(Date value) {
            addCriterion("offline_time <", value, "offlineTime");
            return (Criteria) this;
        }

        public Criteria andOfflineTimeLessThanOrEqualTo(Date value) {
            addCriterion("offline_time <=", value, "offlineTime");
            return (Criteria) this;
        }

        public Criteria andOfflineTimeIn(List<Date> values) {
            addCriterion("offline_time in", values, "offlineTime");
            return (Criteria) this;
        }

        public Criteria andOfflineTimeNotIn(List<Date> values) {
            addCriterion("offline_time not in", values, "offlineTime");
            return (Criteria) this;
        }

        public Criteria andOfflineTimeBetween(Date value1, Date value2) {
            addCriterion("offline_time between", value1, value2, "offlineTime");
            return (Criteria) this;
        }

        public Criteria andOfflineTimeNotBetween(Date value1, Date value2) {
            addCriterion("offline_time not between", value1, value2, "offlineTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}